//
//  CompanyJobModel.h
//  Btpin
//
//  Created by Vic on 2019/3/20.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HRInfoModel.h"
#import "CountInfoModel.h"
#import "CompanyInfoModel.h"
#import "SharePromoteInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CompanyJobModel : NSObject <NSCopying>

@property (nonatomic, copy) NSString *id; // 职位id （关注收藏：收藏记录的ID）
@property (nonatomic, copy) NSString *title; // 职位标题
@property (nonatomic, copy) NSString *wage_cn; // 薪资
@property (nonatomic, copy) NSString *district; // 地区ID串 大类.小类.小类
@property (nonatomic, copy) NSString *district_cn; // 所在地区
@property (nonatomic, copy) NSString *experience; // 工作经验
@property (nonatomic, copy) NSString *experience_cn; // 经验要求
@property (nonatomic, copy) NSString *education; // 学历
@property (nonatomic, copy) NSString *education_cn; // 学历要求
@property (nonatomic, copy) NSString *contents; // 职位描述
@property (nonatomic, copy) NSString *update_time; // 更新时间/UNIX时间戳
@property (nonatomic, copy) NSString *update_timeMMDD; // 展示的时间MMDD

@property (nonatomic, copy) NSString *company_auth_medal; // 公司认证相关

@property (nonatomic, copy) NSString *audit; // 审核状态 1-已审核 2-待审核 3-审核未通过
@property (nonatomic, copy) NSString *status; // 综合状态 1-开放中(审核通过且显示) 2-审核中 3-审核失败 4-已隐藏
@property (nonatomic, copy) NSString *status_cn; // 综合状态
@property (nonatomic, copy) NSString *add_time; // 发布时间
@property (nonatomic, copy) NSString *add_timeMMDD;

@property (nonatomic, copy) NSString *apply_status; // 投递状态 0-未投递 1-已投递
@property (nonatomic, copy) NSString *display; // 是否开启 0-关闭(隐藏) 1-开启(显示) (是否显示 0-不显示 1-显示)
@property (nonatomic, copy) NSString *headhunter; // 猎头服务 0-未启用 1-独家 2-非独家
@property (nonatomic, copy) NSString *stick; // 是否置顶 0-未置顶 1-已置顶
@property (nonatomic, copy) NSString *stick_time; // 置顶到期时间/UNIX时间戳 
@property (nonatomic, copy) NSString *stick_timeMMDD; // 展示的时间MMDD

@property (nonatomic, strong) CompanyInfoModel *companyInfoModel; // 企业信息
@property (nonatomic, strong) HRInfoModel *hrInfoModel; // HR个人信息
@property (nonatomic, strong) CountInfoModel *countInfoModel; // 统计信息

@property (nonatomic, copy) NSString *company_id; // 企业ID
@property (nonatomic, copy) NSString *company_name; // 企业简称
@property (nonatomic, copy) NSString *company_logo; // 公司logo
@property (nonatomic, copy) NSString *company_full_name; // 企业完成名称
@property (nonatomic, copy) NSString *finance_cn; // 融资情况
@property (nonatomic, copy) NSString *trade_cn; // 企业行业
@property (nonatomic, copy) NSString *scale_cn; // 企业规模

@property (nonatomic, assign) CGFloat contentsHeight;
@property (nonatomic, assign) CGFloat allHeight;

@property (nonatomic, copy) NSString *job_id; // 职位ID
@property (nonatomic, copy) NSString *job_title; // 职位标题
@property (nonatomic, copy) NSString *job_status; // 职位状态 0-招聘职位已删除 1-在招 2-已过期
@property (nonatomic, copy) NSString *job_update_time; // 职位更新时间/UNIX时间戳
@property (nonatomic, copy) NSString *job_update_timeMMdd; // 职位更新时间/UNIX时间戳

@property (nonatomic, copy) NSString *category; // 职位类别
@property (nonatomic, copy) NSString *category_cn; // 职位类别
@property (nonatomic, copy) NSString *nature; // 职位性质
@property (nonatomic, copy) NSString *nature_cn; // 职位性质
@property (nonatomic, copy) NSString *age; // 年龄要求
@property (nonatomic, copy) NSString *sex; // 性别
@property (nonatomic, copy) NSString *sex_cn; // 性别
@property (nonatomic, copy) NSString *minwage; // 最低薪资
@property (nonatomic, copy) NSString *maxwage; // 最高薪资

@property (nonatomic, copy) NSString *favorite_status; // 收藏状态 0-未收藏 1-已收藏

@property (nonatomic, copy) NSString *share_promote; // 是否正在分享推广 0-否 1-是
@property (nonatomic, strong) SharePromoteInfoModel *share_promote_info; // 推广详情 当share_promote=1时有此值
@property (nonatomic, copy) NSString *share_promote_price; // 分享推广单价
@property (nonatomic, copy) NSString *share_promote_url; // 分享推广的URL

@property (nonatomic, copy) NSString *promote_price; // 分享推广价格
@property (nonatomic, copy) NSString *promote_status; // 是否已推广(已获得奖励) 0-否 1-是

@property (nonatomic, assign) BOOL isSelect;

@end

NS_ASSUME_NONNULL_END
